.class public Lcom/instagram/android/e/a;
.super Lcom/instagram/android/e/f;
.source "AddAvatarHelper.java"


# instance fields
.field private c:Landroid/graphics/Bitmap;

.field private d:Lcom/instagram/android/login/b/ah;


# direct methods
.method public constructor <init>(Lcom/instagram/android/login/b/ah;Landroid/os/Bundle;)V
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 26
    invoke-direct {p0, p1, p2}, Lcom/instagram/android/e/f;-><init>(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)V

    .line 27
    iput-object p1, p0, Lcom/instagram/android/e/a;->d:Lcom/instagram/android/login/b/ah;

    .line 28
    if-eqz p2, :cond_0

    .line 29
    const-string v0, "AddAvatarHelper.BITMAP_KEY"

    invoke-virtual {p2, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 30
    const-string v0, "AddAvatarHelper.BITMAP_KEY"

    invoke-virtual {p2, v0}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Landroid/graphics/Bitmap;

    iput-object v0, p0, Lcom/instagram/android/e/a;->c:Landroid/graphics/Bitmap;

    .line 33
    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/e/a;Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 18
    iput-object p1, p0, Lcom/instagram/android/e/a;->c:Landroid/graphics/Bitmap;

    return-object p1
.end method

.method static synthetic a(Lcom/instagram/android/e/a;)Lcom/instagram/android/login/b/ah;
    .locals 1
    .parameter

    .prologue
    .line 18
    iget-object v0, p0, Lcom/instagram/android/e/a;->d:Lcom/instagram/android/login/b/ah;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    .prologue
    .line 36
    iget-object v0, p0, Lcom/instagram/android/e/a;->c:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    .line 37
    iget-object v0, p0, Lcom/instagram/android/e/a;->d:Lcom/instagram/android/login/b/ah;

    iget-object v1, p0, Lcom/instagram/android/e/a;->c:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Lcom/instagram/android/login/b/ah;->a(Landroid/graphics/Bitmap;)V

    .line 39
    :cond_0
    return-void
.end method

.method protected a(Landroid/net/Uri;)V
    .locals 2
    .parameter

    .prologue
    .line 81
    new-instance v0, Lcom/instagram/android/e/b;

    const/4 v1, 0x2

    invoke-direct {v0, p0, v1, p1}, Lcom/instagram/android/e/b;-><init>(Lcom/instagram/android/e/a;ILandroid/net/Uri;)V

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/instagram/android/e/b;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    .line 82
    return-void
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 53
    invoke-super {p0, p1}, Lcom/instagram/android/e/f;->a(Landroid/os/Bundle;)V

    .line 54
    iget-object v0, p0, Lcom/instagram/android/e/a;->c:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    .line 55
    const-string v0, "AddAvatarHelper.BITMAP_KEY"

    iget-object v1, p0, Lcom/instagram/android/e/a;->c:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V

    .line 57
    :cond_0
    return-void
.end method

.method protected b()V
    .locals 0

    .prologue
    .line 44
    return-void
.end method

.method protected c()V
    .locals 2

    .prologue
    .line 48
    iget-object v0, p0, Lcom/instagram/android/e/a;->d:Lcom/instagram/android/login/b/ah;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/android/login/b/ah;->a(Z)V

    .line 49
    return-void
.end method

.method public d()V
    .locals 1

    .prologue
    const/4 v0, 0x0

    .line 60
    iput-object v0, p0, Lcom/instagram/android/e/a;->c:Landroid/graphics/Bitmap;

    .line 61
    iput-object v0, p0, Lcom/instagram/android/e/a;->d:Lcom/instagram/android/login/b/ah;

    .line 62
    iput-object v0, p0, Lcom/instagram/android/e/f;->b:Landroid/support/v4/app/Fragment;

    .line 63
    return-void
.end method

.method protected e()V
    .locals 3

    .prologue
    .line 67
    new-instance v0, Lcom/instagram/android/e/b;

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-direct {v0, p0, v1, v2}, Lcom/instagram/android/e/b;-><init>(Lcom/instagram/android/e/a;ILandroid/net/Uri;)V

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/instagram/android/e/b;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    .line 68
    return-void
.end method

.method protected f()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 72
    new-instance v0, Lcom/instagram/android/e/b;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v2, v1}, Lcom/instagram/android/e/b;-><init>(Lcom/instagram/android/e/a;ILandroid/net/Uri;)V

    new-array v1, v2, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/instagram/android/e/b;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    .line 73
    return-void
.end method

.method public g()V
    .locals 0

    .prologue
    .line 76
    invoke-virtual {p0}, Lcom/instagram/android/e/a;->f()V

    .line 77
    return-void
.end method

.method public h()Landroid/graphics/Bitmap;
    .locals 1

    .prologue
    .line 85
    iget-object v0, p0, Lcom/instagram/android/e/a;->c:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method protected i()Z
    .locals 1

    .prologue
    .line 159
    const/4 v0, 0x1

    return v0
.end method
